/**
 * 常量类
 */
import { ResultData } from './ResfulApiResult';
import { SelectState } from './SelectState';
export class Constants {
  // 页面百分比
  static readonly PAGE_FULL: string = "100%";

  // 用户首选项文件名
  static readonly QA_STORE_NAME: string = "QAStore";

  // 用户昵称Key
  static readonly NICK_NAME_KEY: string = "UserNickName";

  // 当前关卡Key
  static readonly CURRENT_LEVEL_KEY: string = "CurrentLevelKey";

  // 请求url
  static readonly QA_REQUEST_URL: string = "https://apis.tianapi.com/baiketiku/index";

  // 默认题干信息
  static readonly DEFAULT_QA: ResultData = {
    title: '巴西人最喜爱的一种舞蹈是？',
    answerA: '探戈',
    answerB: '华尔兹',
    answerC: '踢踏',
    answerD: '桑巴',
    answer: 'D',
    analytic: ''
  }

  // 选中状态
  static readonly RADIO_CHECKED: SelectState = {
    selectA: false,
    selectB: false,
    selectC: false,
    selectD: false
  }
}